<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Dynamic Drop Down, Loads Value With out refreshing Page (Data from Database)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="author" content="Gobinath">
<meta name="description" lang="en" content="Generate form select inputs with dependent options">
<meta name="keywords" lang="en" content="Cascade Drop Down, HTML, HTML generation and processing, Databases, Database management accessing and searching">
</head>
<body>
<h5><span class="style1">Dynamic Drop Down, Loads Value With out refreshing Page (Data from Database)</span></h5>
<h5><?php
// Script to Query the Concerts Table to Display the results
/* database configuration */
$dbConfig['type']="mysql";
$dbConfig['server']="localhost";
$dbConfig['username']="gobinath_demo";
$dbConfig['password']="demo1100";
$dbConfig['database']="gobinath_demo";
include_once("JSDropDown.class.php");
$frmObjName="JSddForm";
echo "<form name=\"$frmObjName\" method=\"post\">";
$JSdd = new JSDropDown($dbConfig);
$JSdd->DataFetch();                   // Call the Function which will fetch the data.
$JSdd->createfrmObject($frmObjName); // Pass the Current Form name as the parameter
$JSdd->close_JSDropDown_database();
echo "</form>";
?>
</h5>
<p class="style4">To Check Online Help : <a href="docs/Manual.htm">Click Here </a></p>
<p><span class="style4"><strong>&lt;gobinathm at gmail dot com&gt; </strong><strong>&nbsp;</strong></span></p>
</body>
</html>

